| Einhugur RawBitmap Objo plugin. |
|
Einhugur.RawBitmap.Clone Method
Clones the RawBitmap and optionally adds alpha channel.

Clone(
addAlphaChannel
as Boolean)
as Einhugur.RawBitmap
Parameters
- addAlphaChannel
- Whether to add an alpha channel to the cloned bitmap.
Returns
- Einhugur.RawBitmap
- A new RawBitmap representing the cloned image, or nothing if cloning fails.
Remarks
Makes a copy of the raw bitmap preserving bitmap data, resolution and color profile in the copy.
It is not guaranteed that RowBytes will remain the same. As in if the original had extra unused row bytes then the copy might not have them.
See Also
Einhugur.RawBitmap Class